using System;
using System.Collections.Generic;
using System.Text;
using DTO;
using System.Data;
using System.Data.OleDb;

namespace DAO
{
    public class P_TAIKHOAN_DAO
    {
        public DataTable P_DangNhap(string ten, string ma)
        {
            DataTable dt;
            string sql = "Select * From TAIKHOAN Where TenDangNhap='" + ten.ToString() + "' and MatKhau ='" + ma.ToString() + "'";
            DataProvider dp = new DataProvider();
            dt = dp.ExecuteQuery(sql);
            return dt;
        }
    }
}
